<h1><?=$c_create;?>!</h1>
<br />
 <h3><?=$c_title;?></h3><br />


<div style='float:left;padding:10px;'>
<form action='<?=$admin_dir_full;?>safe_launch/dv/update/<?=$id;?>' method='post' >
 <?foreach($lang_arr as $key=>$value):?>

 <span><?=$lang_desc;?> <?=$value['alias'];?></span><br />
 <?=$c_gtitle;?>
 <input name="title[<?=$value['name'];?>]" type="text" value="">
 <br />
<textarea class="mceEditor" name="text[<?=$value['name'];?>]" >

  </textarea>  <br />
 <a href="javascript:toggleEditor('text[<?=$value["name"];?>]')"><?=$d_sh;?></a><br />  <br /><br /><br />
<?endforeach;?>


  <table >
  <tr>
  <td>
   <?=$save;?>
  </td>
  <td >
  <?=$side_dv;?>
  </td>
  <td>
  <?=$lang_title;?>
  </td>
   <td>
  <?=$small_version;?>
  </td>
  </tr>
  <tr>
<td><input type='submit' value='<?=$c_createb;?>'></td>
<td>
  <select size="1" name="sidedoc">
   <option value="body">body</option>
   <?foreach($side As $key2=>$value2):?>
   <?if($value2['side']!="body"):?>
  <option value="<?=$value2['side'];?>"><?=$value2['side'];?></option>
  <?endif;?>
  <?endforeach;?>
</select>
</td>
<td>
<select size="1" name="show_me_title">
  <option value="1"><?=$c_on;?></option>
  <option value="0"><?=$c_off;?></option>
</select>
</td>

<td>
<select size="1" name="small_version">

<?if($doc[0]['small_version']):?>
  <option value="1"><?=$c_on;?></option>
  <option value="0"><?=$c_off;?></option>
  <?else:?>
  <option value="0"><?=$c_off;?></option>
  <option value="1"><?=$c_on;?></option>
  <?endif;?>
</select>
</td>
</tr>
</table>
</form>

 <form action='<?=$admin_dir_full;?>quit/document'method='post' >
<input type='submit' value='<?=$c_quit;?>'>
</form>


 </div>